﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Auditing;

namespace BingYing.SAAS.SystemModel.Domain.Manager
{
    /// <summary>
    /// 管理者信息
    /// </summary>
    [Table(nameof(ManagerInfo))]
    [Audited]
    public class ManagerInfo : Volo.Abp.Domain.Entities.Entity<long>
    {
        [MaxLength(32)]
        public string UserName { set; get; }

        [MaxLength(32)]
        public string Password { set; get; }

        [MaxLength(32)]
        public string Email { set; get; }

        public long OrganId { set; get; }

        public DateTime CreateTime { set; get; }

        public DateTime LastLoginTime { set; get; }

    }
}
